Skip to main content

hilitedItemData

Type

property

Summary

Get or set the array of selected data corresponding to the selected item in the PolyList.

Syntax

set the hilitedItemData of widget to <DataArray>
get the hilitedItemData of widget

Description

Use the hilitedItemData property to get or set the data array of the item that is selected. The value of this property is an array, where each key must be the name of a sub element. Sub elements are defined in the dataLayout property.

Examples

set the hilitedItemData of widget "PolyList" to tArray
on mouseUp
local tArray

put "angle down" into tArray["action"]
put "Lorem ipsum dolor" into tArray["description"]
put "check empty" into tArray["icon"]
put "Main title" into tArray["title"]

set the hilitedItemData of widget "PolyList" to tArray
end mouseUp